<html>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<head>
  <title><?php echo $title; ?></title>
  <meta name="resource-type" content="document" />
  <meta name="robots" content="all, index, follow"/>
  <meta name="googlebot" content="all, index, follow" />
  <?php
  /** -- Copy from here -- */
  if(!empty($meta))
  foreach($meta as $name=>$content){
    echo "\n\t\t";
    ?><meta name="<?php echo $name; ?>" content="<?php echo $content; ?>" /><?php
       }
  echo "\n";

  if(!empty($canonical))
  {
    echo "\n\t\t";
    ?><link rel="canonical" href="<?php echo $canonical?>" /><?php

  }
  echo "\n\t";

  foreach($css as $file){
    echo "\n\t\t";
    ?><link rel="stylesheet" href="<?php echo $file; ?>" type="text/css" /><?php
  } echo "\n\t";

  foreach($js as $file){
      echo "\n\t\t";
      ?><script src="<?php echo $file; ?>"></script><?php
  } echo "\n\t";

  /** -- to here -- */
?>
</head>
<div class="navbar-fixed-top">
  <?php
  echo $this->dynamic_menu->build_menu();
  ?></div>
  <div style="margin-top:30px">
    <?php echo $output;?></div>
  <?php echo $this->load->get_section('footer'); ?>
  <div style="visibility: hidden;display:none">
   <br />
   <a href="http://apycom.com/">Apycom jQuery Menus</a><br />
 </div>

 </html>
